systemd.network.netdevs.<name>.l2tpConfig

Each attribute in this set specifies an option in the [L2TP] section of the unit. See systemd.netdev(5) for details.

Type
attribute set of (systemd option)
Default
{ }
Example
{
  EncapsulationType = "ip";
  Local = "static";
  PeerTunnelId = 12;
  Remote = "192.168.30.101";
  TunnelId = 10;
}
Declared
<nixpkgs/nixos/modules/system/boot/networkd.nix>